import {
  createRouter,
  createWebHistory,
} from "vue-router";

const routes = [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/biji",
    component: () => import("../views/biji.vue"),
  }, 
  {
    path: "/home",
    component: () => import("../views/home.vue"),
  }, 
  {
    path: "/my",
    component: () => import("../views/my.vue"),
  }, 
];

export default createRouter({
  history: createWebHistory(),
  routes,
});
